import request from '@/utils/request'

/**
 *登录api
 * @param {object} data 登录需要的参数对象,需要mobile和password
 * @returns 请求的结果,是promise对象
 */
export const login = (data) => request.post('/sys/login', data)

export const getUserInfo = () => request.get('/sys/profile')

export function logout() {

}
